﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="FoodRevenueReport.aspx.cs" Inherits="MBS.FoodRevenueReport" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<%@ Register Assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
    Namespace="CrystalDecisions.Web" TagPrefix="CR" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div>
        <table>
            <tr>
                <td>
                    <asp:Label ID="lblDummy" runat="server" Text="Food Revenue Report" Font-Bold="true"
                        ForeColor="#FF6600"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lblFromDate" runat="server" Text="From Date" CssClass="label" ForeColor="#FF9900"></asp:Label>
                </td>
                <td>
               
                 
                    <asp:CalendarExtender ID="startDateCalendar" TargetControlID="StartDateTextBox" runat="server" CssClass="custom-calendar">
                    </asp:CalendarExtender>
                    <asp:TextBox ID="StartDateTextBox" runat="server"  ></asp:TextBox>
                   
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="StartDateTextBox"
                        ErrorMessage="Start Date is required" ForeColor="Red"></asp:RequiredFieldValidator>
                </td>
                <td>
                    <asp:Label ID="lblToDate" runat="server" Text="To Date" CssClass="label" ForeColor="#FF9900"></asp:Label>
                </td>
                <td>
                   
                     <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
                    </asp:ToolkitScriptManager>
                    <asp:TextBox ID="EndDateTextBox" runat="server"></asp:TextBox>
                    <asp:CalendarExtender ID="endDateCalendar" TargetControlID="EndDateTextBox" runat="server" CssClass="custom-calendar" >
                    </asp:CalendarExtender>
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="EndDateTextBox"
                        ErrorMessage="End Date is required" ForeColor="Red"></asp:RequiredFieldValidator>
                    
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Button ID="btnGenerateReport" runat="server" CssClass="button" Text="Generate"
                        OnClick="btnReport_Click" />
                </td>
            </tr>
        </table>
    </div>
    <div>
        <table>
            <tr>
                <td>
                    <CR:CrystalReportViewer ID="crpViewerMovie" runat="server" AutoDataBind="true" />
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
